package cn.stylefeng.guns.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2020-03-10
 */
@TableName("tb_address")
public class Address implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("t_user_id")
    private String tUserId;

    @TableField("t_mobile")
    private String tMobile;

    /**
     * 收货人
     */
    @TableField("t_username")
    private String tUsername;

    /**
     * 省份
     */
    @TableField("t_province_dic")
    private Integer tProvinceDic;

    /**
     * 城市
     */
    @TableField("t_city_dic")
    private Integer tCityDic;

    /**
     * 区县
     */
    @TableField("t_area_dic")
    private Integer tAreaDic;

    /**
     * 详细地址
     */
    @TableField("t_address")
    private String tAddress;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String gettUserId() {
        return tUserId;
    }

    public void settUserId(String tUserId) {
        this.tUserId = tUserId;
    }

    public String gettMobile() {
        return tMobile;
    }

    public void settMobile(String tMobile) {
        this.tMobile = tMobile;
    }

    public String gettUsername() {
        return tUsername;
    }

    public void settUsername(String tUsername) {
        this.tUsername = tUsername;
    }

    public Integer gettProvinceDic() {
        return tProvinceDic;
    }

    public void settProvinceDic(Integer tProvinceDic) {
        this.tProvinceDic = tProvinceDic;
    }

    public Integer gettCityDic() {
        return tCityDic;
    }

    public void settCityDic(Integer tCityDic) {
        this.tCityDic = tCityDic;
    }

    public Integer gettAreaDic() {
        return tAreaDic;
    }

    public void settAreaDic(Integer tAreaDic) {
        this.tAreaDic = tAreaDic;
    }

    public String gettAddress() {
        return tAddress;
    }

    public void settAddress(String tAddress) {
        this.tAddress = tAddress;
    }

    @Override
    public String toString() {
        return "Address{" +
        "id=" + id +
        ", tUserId=" + tUserId +
        ", tMobile=" + tMobile +
        ", tUsername=" + tUsername +
        ", tProvinceDic=" + tProvinceDic +
        ", tCityDic=" + tCityDic +
        ", tAreaDic=" + tAreaDic +
        ", tAddress=" + tAddress +
        "}";
    }
}
